<# It is recommended to test the script on a local machine for its purpose and effects. ManageEngine Desktop Central will not be responsible for any damage/loss to the data/setup based on the behavior of the script. Description: Script to Configure Enterprise Mode Site List in Edge Browser Script Arguments: "Type the location(URL) of your Enterprise Mode IE website list XML File" Configuration Type - COMPUTER =========================================================================================================================== #> $registryPath = "HKLM:SOFTWARE\Policies\Microsoft\MicrosoftEdge\Main\EnterpriseMode" $Name = "SiteList" if($Args[0] -eq $Null) { write-Host Argument is empty. please read the description } else { $value=$args[0] IF(!(Test-Path $registryPath)) { New-Item -Path $registryPath -Force | Out-Null } New-ItemProperty -Path $registryPath -Name $name -Value $value -PropertyType String -Force | Out-Null }